# -*- coding: utf-8 -*-
# @Time    : 2021/3/23 20:44
# @Author  : N
# @Email   : 
# @File    : 1.py
# @Software: PyCharm
# #1
#  20<x<30 or x<-100
#
# #2
#  y%2!=0
# #3
#  a=10
#  b=20
#  kk=a%b+a/b*b==a
#  pyrint(kk)
# #5
#  str1="abcdefghi"
#  print(str1.count("abc"))
#
#
#
# #4
# # str1 = '2135asdasdsvdfgdfabc'
# # print(str1.find("abc"))
#
# #一
# # a = int(127)
# # print(a>>2)
#
# #二
#  x = int (15)
# # y = int (19)
# # z = int (18)
# # print(x<z or y<z）
#
#  import random
# a=random.randint(1,12)  #随机打的第几盏灯
# mub="0,1,0,1,1,0,0,0,1,0,1,0"
# mub2=mub.replace(",","")
# mub3=list(mub2)
# random.shuffle(mub3)
# mub4=''.join(mub3)
# print(mub4)
# kk=(mub4[a-1:a:])
# if (int(kk)==1):
#     print("击中了","打中第",a,"盏灯")
#     print("true")
# else:
#     print("没有击中",a)
#     print("false")